<?php

namespace Database\Seeders;

use App\Models\Menu;
use App\Models\MenuRole;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class MenuSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        Menu::factory(111)->create();
        $data = [
            [
                "id" => 1,
                "title" => "订单管理",
                "path" => "/order",
                "icon" => "el-icon-CopyDocument",
                "type" => "CATALOG",
                "perm" => null,
                "alwaysShow" => 1,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => null,
                "created_at" => "2024-03-13 05:11:49",
                "updated_at" => "2024-03-13 05:11:49"
            ],
            [
                "id" => 2,
                "title" => "订单管理",
                "path" => "/order",
                "icon" => "system",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "order/order/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 1,
                "created_at" => "2024-03-13 05:12:41",
                "updated_at" => "2024-03-13 05:12:41"
            ],
            [
                "id" => 3,
                "title" => "订单管理查看详情",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "order:order:detail",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 2,
                "created_at" => "2024-03-13 05:13:15",
                "updated_at" => "2024-03-13 05:13:15"
            ],
            [
                "id" => 4,
                "title" => "订单管理发货",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "order:order:send",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 2,
                "created_at" => "2024-03-13 05:34:24",
                "updated_at" => "2024-03-13 05:34:24"
            ],
            [
                "id" => 5,
                "title" => "发货记录",
                "path" => "/order/delivery",
                "icon" => "monitor",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "order/delivery/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 1,
                "created_at" => "2024-03-13 05:35:35",
                "updated_at" => "2024-03-13 05:35:35"
            ],
            [
                "id" => 6,
                "title" => "运费模板",
                "path" => "/order/expenses",
                "icon" => "publish",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "order/expenses/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 3,
                "menus_id" => 1,
                "created_at" => "2024-03-13 05:38:06",
                "updated_at" => "2024-03-13 05:38:06"
            ],
            [
                "id" => 7,
                "title" => "运费模板新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "order:expenses:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 6,
                "created_at" => "2024-03-13 05:38:55",
                "updated_at" => "2024-03-13 05:38:55"
            ],
            [
                "id" => 8,
                "title" => "运费模板编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "order:expenses:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 2,
                "menus_id" => 6,
                "created_at" => "2024-03-13 05:39:27",
                "updated_at" => "2024-03-13 05:39:27"
            ],
            [
                "id" => 9,
                "title" => "运费模板删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "order:expenses:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 3,
                "menus_id" => 6,
                "created_at" => "2024-03-13 05:39:43",
                "updated_at" => "2024-03-13 05:39:43"
            ],
            [
                "id" => 10,
                "title" => "积分管理",
                "path" => "/points",
                "icon" => "security",
                "type" => "CATALOG",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => null,
                "created_at" => "2024-03-13 05:59:28",
                "updated_at" => "2024-03-13 05:59:28"
            ],
            [
                "id" => 11,
                "title" => "签到管理",
                "path" => "/points/sign",
                "icon" => "monitor",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "points/sign/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 10,
                "created_at" => "2024-03-13 06:00:35",
                "updated_at" => "2024-03-13 06:00:35"
            ],
            [
                "id" => 12,
                "title" => "签到管理新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "points:sign:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 11,
                "created_at" => "2024-03-13 06:01:06",
                "updated_at" => "2024-03-13 06:01:06"
            ],
            [
                "id" => 13,
                "title" => "签到管理编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "points:sign:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 2,
                "menus_id" => 11,
                "created_at" => "2024-03-13 06:01:33",
                "updated_at" => "2024-03-13 06:01:33"
            ],
            [
                "id" => 14,
                "title" => "签到管理删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "points:sign:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 3,
                "menus_id" => 11,
                "created_at" => "2024-03-13 06:01:51",
                "updated_at" => "2024-03-13 06:01:51"
            ],
            [
                "id" => 15,
                "title" => "积分配置",
                "path" => "/points/config",
                "icon" => "monitor",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "points/config/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 10,
                "created_at" => "2024-03-13 06:03:33",
                "updated_at" => "2024-03-13 06:03:33"
            ],
            [
                "id" => 16,
                "title" => "积分配置新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "points:config:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 15,
                "created_at" => "2024-03-13 06:04:04",
                "updated_at" => "2024-03-13 06:04:04"
            ],
            [
                "id" => 17,
                "title" => "积分配置编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "points:config:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 2,
                "menus_id" => 15,
                "created_at" => "2024-03-13 06:04:23",
                "updated_at" => "2024-03-13 06:04:23"
            ],
            [
                "id" => 18,
                "title" => "积分配置删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "points:config:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 3,
                "menus_id" => 15,
                "created_at" => "2024-03-13 06:04:44",
                "updated_at" => "2024-03-13 06:04:44"
            ],
            [
                "id" => 19,
                "title" => "积分记录",
                "path" => "/points/record",
                "icon" => "drag",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "points/record/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 2,
                "menus_id" => 10,
                "created_at" => "2024-03-13 06:02:46",
                "updated_at" => "2024-03-13 06:02:46"
            ],
            [
                "id" => 20,
                "title" => "商品管理",
                "path" => "/goods",
                "icon" => "el-icon-ShoppingTrolley",
                "type" => "CATALOG",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 3,
                "menus_id" => null,
                "created_at" => "2024-03-13 01:55:00",
                "updated_at" => "2024-03-13 01:55:00"
            ],
            [
                "id" => 21,
                "title" => "商品分类",
                "path" => "/goods/classify",
                "icon" => "link",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "goods/classify/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 20,
                "created_at" => "2024-03-13 01:56:13",
                "updated_at" => "2024-03-13 01:59:40"
            ],
            [
                "id" => 22,
                "title" => "商品分类新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "goods:classify:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 21,
                "created_at" => "2024-03-13 01:58:35",
                "updated_at" => "2024-03-13 01:59:56"
            ],
            [
                "id" => 23,
                "title" => "商品分类编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "goods:classify:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 2,
                "menus_id" => 21,
                "created_at" => "2024-03-13 02:00:13",
                "updated_at" => "2024-03-13 02:00:13"
            ],
            [
                "id" => 24,
                "title" => "商品分类删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "goods:classify:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 3,
                "menus_id" => 21,
                "created_at" => "2024-03-13 02:00:30",
                "updated_at" => "2024-03-13 02:00:30"
            ],
            [
                "id" => 25,
                "title" => "商品管理",
                "path" => "/goods/goods",
                "icon" => "cascader",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "goods/goods/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 2,
                "menus_id" => 20,
                "created_at" => "2024-03-13 01:57:28",
                "updated_at" => "2024-03-13 03:09:30"
            ],
            [
                "id" => 26,
                "title" => "商品管理新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "goods:goods:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 25,
                "created_at" => "2024-03-13 02:01:14",
                "updated_at" => "2024-03-13 02:01:14"
            ],
            [
                "id" => 27,
                "title" => "商品管理删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "goods:goods:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 25,
                "created_at" => "2024-03-13 02:01:44",
                "updated_at" => "2024-03-13 02:01:44"
            ],
            [
                "id" => 28,
                "title" => "商品管理编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "goods:goods:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 2,
                "menus_id" => 25,
                "created_at" => "2024-03-13 02:01:28",
                "updated_at" => "2024-03-13 02:01:28"
            ],
            [
                "id" => 29,
                "title" => "商品规格",
                "path" => "/goods/specification",
                "icon" => "close_other",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "goods/specification/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 3,
                "menus_id" => 20,
                "created_at" => "2024-03-13 04:55:34",
                "updated_at" => "2024-03-13 04:55:34"
            ],
            [
                "id" => 30,
                "title" => "商品规格新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "goods:specification:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 29,
                "created_at" => "2024-03-13 04:56:07",
                "updated_at" => "2024-03-13 04:56:07"
            ],
            [
                "id" => 31,
                "title" => "商品规格编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "goods:specification:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 2,
                "menus_id" => 29,
                "created_at" => "2024-03-13 04:56:22",
                "updated_at" => "2024-03-13 04:56:22"
            ],
            [
                "id" => 32,
                "title" => "商品规格删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "goods:specification:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 3,
                "menus_id" => 29,
                "created_at" => "2024-03-13 04:56:42",
                "updated_at" => "2024-03-13 04:56:42"
            ],
            [
                "id" => 33,
                "title" => "盲盒管理",
                "path" => "/box",
                "icon" => "cascader",
                "type" => "CATALOG",
                "perm" => "",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "/",
                "redirect" => null,
                "hidden" => 1,
                "order" => 13,
                "menus_id" => null,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 34,
                "title" => "盲盒分类",
                "path" => "/box/classify",
                "icon" => "icon",
                "type" => "MENU",
                "perm" => "",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "box/classify/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 22,
                "menus_id" => 33,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-13 03:30:25"
            ],
            [
                "id" => 35,
                "title" => "盲盒分类新增",
                "path" => "",
                "icon" => "",
                "type" => "BUTTON",
                "perm" => "box:classify:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 23,
                "menus_id" => 34,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-13 03:32:34"
            ],
            [
                "id" => 36,
                "title" => "盲盒分类编辑",
                "path" => "",
                "icon" => "",
                "type" => "BUTTON",
                "perm" => "box:classify:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 24,
                "menus_id" => 34,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-13 03:32:40"
            ],
            [
                "id" => 37,
                "title" => "盲盒分类删除",
                "path" => "",
                "icon" => "",
                "type" => "BUTTON",
                "perm" => "box:classify:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 25,
                "menus_id" => 34,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-13 03:32:46"
            ],
            [
                "id" => 38,
                "title" => "盲盒管理",
                "path" => "/box/box",
                "icon" => "icon",
                "type" => "MENU",
                "perm" => "",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "box/box/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 26,
                "menus_id" => 33,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 39,
                "title" => "盲盒管理新增",
                "path" => "",
                "icon" => "",
                "type" => "BUTTON",
                "perm" => "box:box:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 27,
                "menus_id" => 38,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 40,
                "title" => "盲盒管理编辑",
                "path" => "",
                "icon" => "",
                "type" => "BUTTON",
                "perm" => "box:box:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 28,
                "menus_id" => 38,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 41,
                "title" => "盲盒管理删除",
                "path" => "",
                "icon" => "",
                "type" => "BUTTON",
                "perm" => "box:box:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 29,
                "menus_id" => 38,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 42,
                "title" => "盲盒操作页",
                "path" => "/box/operateBox",
                "icon" => "",
                "type" => "MENU",
                "perm" => "",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "box/box/operateBox",
                "redirect" => null,
                "hidden" => 0,
                "order" => 39,
                "menus_id" => 38,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 43,
                "title" => "系统管理",
                "path" => "/system",
                "icon" => "el-icon-Setting",
                "type" => "CATALOG",
                "perm" => "box:box:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 30,
                "menus_id" => null,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 44,
                "title" => "菜单管理",
                "path" => "/system/menu",
                "icon" => "menu",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "system/menu/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 43,
                "created_at" => "2024-03-13 01:20:28",
                "updated_at" => "2024-03-13 01:20:28"
            ],
            [
                "id" => 45,
                "title" => "菜单新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:menu:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 44,
                "created_at" => "2024-03-13 01:20:59",
                "updated_at" => "2024-03-13 01:20:59"
            ],
            [
                "id" => 46,
                "title" => "菜单编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:menu:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 44,
                "created_at" => "2024-03-13 01:21:14",
                "updated_at" => "2024-03-13 01:21:14"
            ],
            [
                "id" => 47,
                "title" => "菜单删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:menu:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 44,
                "created_at" => "2024-03-13 01:21:31",
                "updated_at" => "2024-03-13 01:21:31"
            ],
            [
                "id" => 48,
                "title" => "角色管理",
                "path" => "/system/role",
                "icon" => "tree",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "system/role/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 2,
                "menus_id" => 43,
                "created_at" => "2024-03-13 01:07:41",
                "updated_at" => "2024-03-13 01:07:41"
            ],
            [
                "id" => 49,
                "title" => "分配权限",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:role:menu",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 48,
                "created_at" => "2024-03-13 01:08:44",
                "updated_at" => "2024-03-13 01:08:44"
            ],
            [
                "id" => 50,
                "title" => "角色新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:role:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 2,
                "menus_id" => 48,
                "created_at" => "2024-03-13 01:09:07",
                "updated_at" => "2024-03-13 01:09:07"
            ],
            [
                "id" => 51,
                "title" => "角色编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:role:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 3,
                "menus_id" => 48,
                "created_at" => "2024-03-13 01:09:26",
                "updated_at" => "2024-03-13 01:09:26"
            ],
            [
                "id" => 52,
                "title" => "角色删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:role:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 4,
                "menus_id" => 48,
                "created_at" => "2024-03-13 01:09:43",
                "updated_at" => "2024-03-13 01:09:43"
            ],
            [
                "id" => 53,
                "title" => "商家管理",
                "path" => "/system/user",
                "icon" => "user",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "system/user/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 3,
                "menus_id" => 43,
                "created_at" => "2024-03-13 01:37:42",
                "updated_at" => "2024-03-13 01:37:42"
            ],
            [
                "id" => 54,
                "title" => "商家编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:user:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 53,
                "created_at" => "2024-03-13 01:38:00",
                "updated_at" => "2024-03-13 01:38:00"
            ],
            [
                "id" => 55,
                "title" => "字典管理",
                "path" => "/system/dict",
                "icon" => "document",
                "type" => "MENU",
                "perm" => "",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "system/dict/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 31,
                "menus_id" => 43,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 56,
                "title" => "字典数据",
                "path" => "",
                "icon" => "",
                "type" => "BUTTON",
                "perm" => "system:dictType:list",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 32,
                "menus_id" => 55,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 57,
                "title" => "字典类型新增",
                "path" => "",
                "icon" => "",
                "type" => "BUTTON",
                "perm" => "system:dictType:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 33,
                "menus_id" => 55,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 58,
                "title" => "字典类型编辑",
                "path" => "",
                "icon" => "",
                "type" => "BUTTON",
                "perm" => "system:dictType:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 34,
                "menus_id" => 55,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 59,
                "title" => "字典类型删除",
                "path" => "",
                "icon" => "",
                "type" => "BUTTON",
                "perm" => "system:dictType:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 35,
                "menus_id" => 55,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 60,
                "title" => "字典数据新增",
                "path" => "",
                "icon" => "",
                "type" => "BUTTON",
                "perm" => "system:dictData:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 36,
                "menus_id" => 55,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 61,
                "title" => "字典数据编辑",
                "path" => "",
                "icon" => "",
                "type" => "BUTTON",
                "perm" => "system:dictData:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 37,
                "menus_id" => 55,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 62,
                "title" => "字典数据删除",
                "path" => "",
                "icon" => "",
                "type" => "BUTTON",
                "perm" => "system:dictData:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 55,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 63,
                "title" => "商家管理",
                "path" => "/seller",
                "icon" => "password",
                "type" => "CATALOG",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "",
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => null,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 64,
                "title" => "我的推广",
                "path" => "/seller/extend",
                "icon" => "monitor",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "seller/extend/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 63,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 65,
                "title" => "收益明细",
                "path" => "/seller/income",
                "icon" => "client",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "seller/income/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 63,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 66,
                "title" => "财务管理",
                "path" => "/finance",
                "icon" => "monitor",
                "type" => "CATALOG",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => null,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 67,
                "title" => "充值记录",
                "path" => "/finance/storage",
                "icon" => "edit",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "finance/storage/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 66,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 68,
                "title" => "提现记录",
                "path" => "/finance/withdraw",
                "icon" => "close_left",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "finance/withdraw/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 66,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 69,
                "title" => "充值配置",
                "path" => "/finance/config",
                "icon" => "captcha",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "finance/config/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 66,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 70,
                "title" => "新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "finance:config:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 69,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 71,
                "title" => "编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "finance:config:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 69,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 72,
                "title" => "删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "finance:config:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 69,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 73,
                "title" => "活动管理",
                "path" => "/activity",
                "icon" => "message",
                "type" => "CATALOG",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => null,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 74,
                "title" => "活动管理",
                "path" => "/activity/activity",
                "icon" => "ip",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "activity/activity/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 73,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 75,
                "title" => "活动管理下架",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "activity:activity:delisted",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 74,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 76,
                "title" => "活动列表",
                "path" => "/activity/list",
                "icon" =>  "redis",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "activity/list/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 73,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 77,
                "title" => "活动列表新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "activity:list:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 76,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 78,
                "title" => "活动列表编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "activity:list:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 76,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 79,
                "title" => "活动列表删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "activity:list:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 76,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 80,
                "title" => "前台管理",
                "path" => "/client",
                "icon" => "close_other",
                "type" => "CATALOG",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => null,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 81,
                "title" => "轮播图配置",
                "path" => "/client/carousel",
                "icon" =>  "icon",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "client/carousel/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 80,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 82,
                "title" => "新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "client:carousel:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 81,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 83,
                "title" => "编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "client:carousel:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 81,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 84,
                "title" => "删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "client:carousel:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 81,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 85,
                "title" => "用户管理",
                "path" => "/client/user",
                "icon" =>  "peoples",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "client/user/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 80,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 86,
                "title" => "热门推荐",
                "path" => "/client/hot",
                "icon" =>  "homepage",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "client/hot/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 80,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 87,
                "title" => "新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "client:hot:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 86,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 88,
                "title" => "编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "client:hot:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 86,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 89,
                "title" => "删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "client:hot:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 86,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 90,
                "title" => "佣金管理",
                "path" => "/system/commision",
                "icon" => "tree",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "system/commision/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 43,
                "created_at" => "2024-03-13 01:20:28",
                "updated_at" => "2024-03-13 01:20:28"
            ],
            [
                "id" => 91,
                "title" => "佣金管理编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:commision:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 90,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 92,
                "title" => "系统通知",
                "path" => "/system/affiche",
                "icon" => "link",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "system/affiche/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 43,
                "created_at" => "2024-03-13 01:20:28",
                "updated_at" => "2024-03-13 01:20:28"
            ],
            [
                "id" => 93,
                "title" => "系统通知新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:affiche:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 92,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 94,
                "title" => "系统通知编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:affiche:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 92,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 95,
                "title" => "系统通知删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:affiche:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 92,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 96,
                "title" => "消息模板",
                "path" => "/system/template",
                "icon" => "peoples",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "system/template/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 43,
                "created_at" => "2024-03-13 01:20:28",
                "updated_at" => "2024-03-13 01:20:28"
            ],
            [
                "id" => 97,
                "title" => "消息模板新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:template:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 96,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 98,
                "title" => "消息模板编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:template:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 96,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 99,
                "title" => "消息模板删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:template:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 96,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 100,
                "title" => "待审核",
                "path" =>"/box/reviewed",
                "icon" => "security",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "box/reviewed/index",                
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 33,
                "created_at" => "2024-03-13 01:20:28",
                "updated_at" => "2024-03-13 01:20:28"
            ],
            [
                "id" => 101,
                "title" => "审核",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "box:reviewed:check",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 100,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 102,
                "title" => "审核通过",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "box:reviewed:pass",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 100,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 103,
                "title" => "驳回",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "box:reviewed:reject",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 100,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 104,
                "title" => "配置默认佣金",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "system:commision:default",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 38,
                "menus_id" => 90,
                "created_at" => "2024-03-09 10:01:27",
                "updated_at" => "2024-03-09 10:01:27"
            ],
            [
                "id" => 105,
                "title" => "发货地址",
                "path" => "/order/address",
                "icon" => "publish",
                "type" => "MENU",
                "perm" => null,
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => "order/address/index",
                "redirect" => null,
                "hidden" => 1,
                "order" => 3,
                "menus_id" => 1,
                "created_at" => "2024-03-13 05:38:06",
                "updated_at" => "2024-03-13 05:38:06"
            ],
            [
                "id" => 106,
                "title" => "发货地址新增",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "order:address:add",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 105,
                "created_at" => "2024-03-13 05:38:55",
                "updated_at" => "2024-03-13 05:38:55"
            ],
            [
                "id" => 107,
                "title" => "发货地址编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "order:address:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 105,
                "created_at" => "2024-03-13 05:38:55",
                "updated_at" => "2024-03-13 05:38:55"
            ],
            [
                "id" => 108,
                "title" => "发货地址删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "order:address:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 105,
                "created_at" => "2024-03-13 05:38:55",
                "updated_at" => "2024-03-13 05:38:55"
            ],
            [
                "id" => 109,
                "title" => "发货记录详情",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "order:delivery:detail",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 5,
                "created_at" => "2024-03-13 05:38:55",
                "updated_at" => "2024-03-13 05:38:55"
            ],
            [
                "id" => 110,
                "title" => "发货记录编辑",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "order:delivery:edit",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 5,
                "created_at" => "2024-03-13 05:38:55",
                "updated_at" => "2024-03-13 05:38:55"
            ],
            [
                "id" => 111,
                "title" => "发货记录删除",
                "path" => null,
                "icon" => null,
                "type" => "BUTTON",
                "perm" => "order:delivery:delete",
                "alwaysShow" => 0,
                "keepAlive" => 0,
                "component" => null,
                "redirect" => null,
                "hidden" => 1,
                "order" => 1,
                "menus_id" => 5,
                "created_at" => "2024-03-13 05:38:55",
                "updated_at" => "2024-03-13 05:38:55"
            ],
        ];



        foreach ($data as $key => $value) {
            $menu = Menu::where('id', $key + 1)->first();
            // $menu->id = $value['id'];
            $menu->title = $value['title'];
            $menu->path = $value['path'];
            $menu->icon = $value['icon'];
            $menu->type = $value['type'];
            $menu->perm = $value['perm'];
            $menu->hidden = $value['hidden'];
            $menu->component = $value['component'];
            // $menu->hidden = $value['hidden'];
            $menu->order = $key;
            $menu->menus_id = $value['menus_id'];
            $menu->save();

            MenuRole::create([
                'role_id' => 1,
                'menu_id' => $menu->id
            ]);
        }
    }
}
